package com.es.easystoragesimulatedata.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 电站数据请求参数模型
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "电站数据查询请求参数")
public class StationDataRequest {
    
    @JsonProperty("timeType")
    @Schema(description = "时间类型", example = "DAY", allowableValues = {"DAY", "MONTH", "YEAR"})
    private TimeType timeType;
    
    @JsonProperty("startDate")
    @Schema(description = "开始日期", example = "2025-08-20")
    private String startDate;
    
    @JsonProperty("endDate")
    @Schema(description = "结束日期", example = "2025-09-19")
    private String endDate;
}
